package edu.hwadee.BEIS.repository;

import edu.hwadee.BEIS.entity.PublicCourseTeacherSituation;
import edu.hwadee.BEIS.entity.SchoolBasicInfor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface PublicCourseTeacherSituationRepository extends JpaRepository<PublicCourseTeacherSituation, Integer> {

    @Override
    Page<PublicCourseTeacherSituation> findAll(Pageable pageable);
    Page<PublicCourseTeacherSituation> findBySchoolBasicOrderByModifyTimeDesc(Pageable page, SchoolBasicInfor sbi);
}
